package com.xijia.xj.observer.impl;

import com.alibaba.fastjson.JSONObject;
import com.xijia.xj.observer.ObServer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;


/**
  * 观察者实现 发送邮件
  * @author wangsong
  * @mail  1720696548@qq.com
  * @date  2020/9/2 0002 21:23 
  * @version 1.0.0      
  */
@Component
@Slf4j
public class EmailObServer implements ObServer {
    @Override
    public void sendMsg(JSONObject jsonObject) {
        log.info("使用观察者发送邮件");
    }
}
